package com.thread.maipiao;

public class Test {
	public static void main(String[] args) {
		Ticket t = new Ticket();
		Thread t1 = new Thread(t, "一号窗口");
		Thread t2 = new Thread(t, "二号窗口");
		Thread t3 = new Thread(t, "三号窗口");
		Thread t4 = new Thread(t, "四号窗口");
		t1.start();
		t2.start();
		t3.start();
		t4.start();
	}
}
